package com.talkweb.newproject.admin.sysresource.dao;

import com.talkweb.newproject.admin.sysresource.dto.SysResourceDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by qsf on 2019/4/19.
 */
public interface SysResourceDao {
    int insertSysResource(Map<String, Object> params);

    void updateSysResource(Map<String, Object> params);

    int deleteSysResourceById(String id);

    SysResourceDTO querySysResourceByPrimaryKey(String id);

    List<SysResourceDTO> selectShiroUrlPermissionByUserId(Map<String, Object> params);

    List<SysResourceDTO> searchSysResource(Map<String, Object> params);

    SysResourceDTO queryLikeSysResource(Map<String, Object> params);
}
